package com.hjb.toolbardemo.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.hjb.toolbardemo.base.MyBaseAdapter;

import java.util.List;

/**
 * 作者 : hjb
 * 时间 : 2016/4/27.
 */
public class HomeAdapter extends MyBaseAdapter {

    public HomeAdapter(Context context, List data) {
        super(context, data);
    }

    @Override
    public int getCount() {
        return 30;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup viewGroup) {
        TextView textView = new TextView(context);
        textView.setText("dasdasdasdasdasdasdadas");
        return textView;
    }
}
